package com.ricky.handler;

import java.util.HashMap;
import java.util.Map;

import com.ricky.core.net.abs.Request;
import com.ricky.core.net.msg.Context;
import com.ricky.game.MsgHelper;

public class Default implements IHandler {

	@SuppressWarnings("rawtypes")
	@Override
	public void proccess(Request request, Map<String,Object> context) {

		request.clearAllRegister();
		request.close();
	}

	public static void ping(Request req)
	{
		Map<String,String> pmsg=new HashMap<String, String>();
		pmsg.put("cmd", "ping");
		
		MsgHelper.sendMsg(req, pmsg);
	}
	
	public static String defaultHandName="Default";
}
